package cz.zcu.fav.ratdroid.bean;

import java.io.Serializable;

import org.joda.time.LocalDate;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.convert.Convert;

import cz.zcu.fav.ratdroid.xml.OccupationConverter;

@Root(name="occupation")
@Convert(value = OccupationConverter.class)
public class Occupation implements Serializable
{
	private static final long serialVersionUID = -9201013077301775428L;
	
	private LocalDate date;
	private int count;
	
	public LocalDate getDate()
	{
		return date;
	}
	public void setDate(LocalDate date)
	{
		this.date = date;
	}
	public int getCount()
	{
		return count;
	}
	public void setCount(int count)
	{
		this.count = count;
	}
	
	
}
